package com.wzy.serviceLocatorPattern.impl;

import com.wzy.serviceLocatorPattern.Parser;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: wzy
 * @Date: 2023/01/31/19:15
 * @Description:
 */
@Component("XML")
public class XMLParser implements Parser {

    @Override
    public List parse() {
        ArrayList<String> objects = new ArrayList<>();
        objects.add("XML");
        return objects;
    }
}
